package w83b.w83bOperacionesPaso.w83bListados.w83bImpugnaciones;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import w83b.w83bBeans.W83bListImpugnacionesBean;

import es.ejie.frmk.presentacion.operacion.paso.Q70ActionPasoOP;
import es.ejie.frmk.presentacion.sesiondatos.Q70ContextoEJIE;

// TODO: Auto-generated Javadoc
/**
 * The Class W83bTablaConveniosOP.java.
 *
 * @author Deusto Sistemas
 */
public class W83bBusqPendientesOPAction extends Q70ActionPasoOP{

	
	protected void processOP(Q70ContextoEJIE contexto, ActionErrors errores, ActionMapping mapping,
			ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		
		W83bListImpugnacionesBean lb=new W83bListImpugnacionesBean();
		lb.setTerritorio((String)request.getParameter("numTerritorio"));
		lb.setTerriImpugnacionDesde((String)request.getParameter("terriImpugnacionDesde"));
		lb.setAgnoImpugnacionDesde((String)request.getParameter("agnoImpugnacionDesde"));
		lb.setNumImpugnacionDesde((String)request.getParameter("numImpugnacionDesde"));
		lb.setTerriImpugnacionHasta((String)request.getParameter("terriImpugnacionHasta"));
		lb.setAgnoImpugnacionHasta((String)request.getParameter("agnoImpugnacionHasta"));
		lb.setNumImpugnacionHasta((String)request.getParameter("numImpugnacionHasta"));
		lb.setFechaEntradaDesde((String)request.getParameter("fechaEntradaDesde"));
		lb.setFechaEntradaHasta((String)request.getParameter("fechaEntradaHasta"));
		lb.setDescTerritorio((String)request.getParameter("descTerritorio"));
		contexto.set("W83bListadosImpugBean",lb);
		
	}

	protected ActionForward processForward(Q70ContextoEJIE contexto, ActionErrors errors, ActionMapping mapping, 
			ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
			
		return mapping.findForward("ok");
	}

}
